package com.shangxian.giveithome.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AdoptionImg {

    /**
     * 宠物id
     */
    @NotNull(message = "宠物id不能为空")
    private Long petId;

    /**
     * 图片id
     */
    @NotNull(message = "图片id不能为空")
    private Long imgId;

}
